﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;

namespace DataFileApp_WPF.Models
{
    public class TreeItem
    {
        public string Name { get; set; }
        public string ImagePath { get; set; }

        public TreeItem Parent { get; set; }

        //public JTokenType JTokenType { get; set; }

        public int ArrayIndex { get; set; }

        public bool IsArray { get; set; }

        public ObservableCollection<TreeItem> Children { get; set; }

        public TreeItem()
        {
            Children = new ObservableCollection<TreeItem>();
        }
    }
}
